
#include <iostream>
#include <cassert>

using namespace std;

 int& f(int a)
{
    a = 2;
    return a = 1;
}

int main()
{
    cout << f(3) << "\n";
    return 0;
}